package com.woniu.dao;

import com.woniu.entity.TSubjectCategory;
import com.woniu.entity.TSubjectCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSubjectCategoryDao {
    long countByExample(TSubjectCategoryExample example);

    int deleteByExample(TSubjectCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TSubjectCategory record);

    int insertSelective(TSubjectCategory record);

    List<TSubjectCategory> selectByExample(TSubjectCategoryExample example);

    TSubjectCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TSubjectCategory record, @Param("example") TSubjectCategoryExample example);

    int updateByExample(@Param("record") TSubjectCategory record, @Param("example") TSubjectCategoryExample example);

    int updateByPrimaryKeySelective(TSubjectCategory record);

    int updateByPrimaryKey(TSubjectCategory record);
}